package com.zzt.service;

import com.zzt.dao.GoodstypeMapper;
import com.zzt.entity.Goodstype;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class GoodstypeServiceImpl implements GoodstypeService{
    @Resource
    GoodstypeMapper goodstypeMapper;

    @Override
    public List<Goodstype> queryGoodsType() {
        List<Goodstype> goodstypes = goodstypeMapper.selectByExample(null);
        return goodstypes;
    }
}
